# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>

pkgname=perl-tie-simple
_realname=Tie-Simple
pkgver=1.04
pkgrel=9
pkgdesc="Variable ties made easier: much, much, much easier..."
arch=(any)
license=(PerlArtistic GPL)
depends=(perl)
url="https://metacpan.org/release/$_realname"
options=('!emptydirs')
source=("https://cpan.metacpan.org/authors/id/H/HA/HANENKAMP/$_realname-$pkgver.tar.gz")
sha256sums=('29e9e2133951046c78f205f1b3e8df62c90e114f0e08fa06b817766a0f808b12')

build() {
  cd $_realname-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd $_realname-$pkgver
  make DESTDIR="$pkgdir" install
}

# vim:set sw=2 et:
